package com.caiyouxi.user.model;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/17.
 */
public class PublicAttributeBean extends UserProfileBean implements Serializable{

    private AccountBean account;
    private  String  obj;

    /**
     * 注册地
     */
    private String req_loaction;

    /**
     * 注册IP
     */
    private String req_ip;

    //新密码
    private  String new_password;
    /**
     * 用户ID
     */
    private Integer user_id;
    /**
     * 原密码
     */
    private String old_password;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 令牌
     */
    private String token;
    /**
     * 登录设备信息
     */
    private DeviceBean device;
    /**
     * SDK信息
     */
    private SdkBean sdk;
    /**
     * 登录设备信息
     */
    private  String app_from;
    /**
     * 邮箱
     */
    private String email;

    /**
     * 验证码
     */
    private String code;
    /**
     * 令牌过期时间
     */
    private Long failure_time;

    /**
     * 绑定手机
     */
    private String bind_phone;

    /**
     * 接收对象
     */
    private String target;
    /**
     * 该安全码的用途。
     * 有以下值之一：
     * REG：注册；R
     * ESET_PWD：重置密码；
     * BIND：绑定；
     * UNBIND：取消绑定；
     * LOGIN：登录；等。
     * 根据业务需要可以扩充定义。每个代码都对应一个具体业务用途。
     */
    private String action;
    /**
     * 验证码
     */
    private String captcha;
    /**
     * jsessionId
     */
    private String jsessionId;


    public String getReq_loaction() {
        return req_loaction;
    }

    public void setReq_loaction(String req_loaction) {
        this.req_loaction = req_loaction;
    }

    public String getReq_ip() {
        return req_ip;
    }

    public void setReq_ip(String req_ip) {
        this.req_ip = req_ip;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public DeviceBean getDevice() {
        return device;
    }

    public void setDevice(DeviceBean device) {
        this.device = device;
    }

    public SdkBean getSdk() {
        return sdk;
    }

    public void setSdk(SdkBean sdk) {
        this.sdk = sdk;
    }

    public String getApp_from() {
        return app_from;
    }

    public void setApp_from(String app_from) {
        this.app_from = app_from;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOld_password() {
        return old_password;
    }

    public void setOld_password(String old_password) {
        this.old_password = old_password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getFailure_time() {
        return failure_time;
    }
    public void setFailure_time(Long failure_time) {
        this.failure_time = failure_time;
    }

    public String getBind_phone() {
        return bind_phone;
    }
    public void setBind_phone(String bind_phone) {
        this.bind_phone = bind_phone;
    }

    public AccountBean getAccount() {
        return account;
    }

    public void setAccount(AccountBean account) {
        this.account = account;
    }

    public String getNew_password() {
        return new_password;
    }

    public void setNew_password(String new_password) {
        this.new_password = new_password;
    }

    public String getObj() {
        return obj;
    }

    public void setObj(String obj) {
        this.obj = obj;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getJsessionId() {
        return jsessionId;
    }

    public void setJsessionId(String jsessionId) {
        this.jsessionId = jsessionId;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
